package com.dao;

import org.apache.ibatis.annotations.Mapper;

import org.springframework.stereotype.Repository;
import java.util.List;
import com.mybatis.po.*;
@Repository("AutionDao")
@Mapper
public interface AuctionDao {
	public List<Auction> selectAuctionByState(Auction acAuction);
	public List<Auction> selectAuctionByCode(Auction acAuction);
	public List<Auction> selectAuctionByPublisherAndState(Auction acAuction);
	public List<Auction> selectAuctionByBuySta(Auction acAuction);
	public int addAction(Auction auction);
	public int updateAction(Auction auction);
	public int updateActionByStatePu(Auction auction);
}
